package com.example.locationtracking.model;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;


public class User implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@JsonProperty("UserName")
	private String userName;
	@JsonProperty("Password")
	private String password;
	@JsonProperty("Pin")
	private String pin;
	
	
	public User() {
		super();
	}

	public User(String userName, String password, String pin) {
		super();
		this.userName = userName;
		this.password = password;
		this.pin = pin;
		
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPin() {
		return pin;
	}

	public void setPin(String pin) {
		this.pin = pin;
	}


	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return userName;
	}
	
}
